package Fanshe;

import JdbcTemplate.JdbcUtils;
import org.junit.Test;

import java.sql.Connection;
import java.sql.Statement;

public class PrepareStatment {
    @Test
    public void Test() throws Exception {
       //加载驱动获取连接
        Connection getconnection = JdbcUtils.getconnection();
        //创建Preparestament对象
        Statement preparedStatement = getconnection.prepareStatement("select * from user where ");
    }
}
